package com.jg.service;

import com.jg.dto.ProductParam;
import com.jg.entity.Products;

import java.util.List;

public interface ProductService {
    List<Products> list(ProductParam productParam);

    String delete(Integer productId);

    String add(Products products);

    Products detail(Integer productId);

    String update(Products products);
}
